package com.caigou.exception;

import com.caigou.enums.ResponseEnum;

public class ForbiddenAccountException extends RuntimeException{
    private static final long serialVersionUID = 3350713209731602667L;
    private  Integer code;
    public ForbiddenAccountException(ResponseEnum responseEnum) {
        super(responseEnum.getMessage());
        this.code = responseEnum.getCode();
    }
}
